package com.service;

import com.exception.CustomException;
import com.pageResult.PageResult;
import com.pojo.Member;
import com.query.QueryPageBean;

import java.util.List;

public interface MemberService {

    //获取当前月最后一天的会员统计
    List<Integer> getMemberCount(List<String> months);

    //会员列表(支持分页+条件)
    PageResult selectByQueryString(QueryPageBean queryPageBean);
    //添加
    void add(Member member);
    //修改
    void update(Member member);
    //根据id查询
    Member queryById(Integer id);
    //删除
    void delete(Integer id) throws CustomException;
    //判断是不是会员
    Member login(String phoneNumber);


}
